package com.yjd.comm.raffle.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.raffle.model.RaffleJurModel;

/**
 * <b>description</b>：获奖码业务接口<br>
 * <b>time</b>：2015-02-05 10:53:30 <br>
 * <b>author</b>：  ready likun_557@163.com
 */
public interface IRaffleJurService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public RaffleJurModel insert(RaffleJurModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(RaffleJurModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param raffle_id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long raffle_id) throws Exception;

}
